

#include "WarGameLib.h"

#ifndef WG_WINDOW_H
#define WG_WINDOW_H


typedef HWND WINDOWID;

class wgWindow
{
protected:
	int						windowWidth, windowHeight;
	WINDOWID				windowID;

	

public:
	void CreateAppWindow(int width, int height, const char *title);
	~wgWindow();
	
	virtual void Render() = 0;
	virtual void Reshape(int w, int h);;
	virtual void HandleKeyboard(unsigned char key, int mx, int my) = 0;
	virtual void HandleKeyboardSpecial(int key, int mx, int my) = 0;
	WINDOWID GetWindowID() { return windowID;}


	static void StartMainLoop();
};

#endif

